<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
<script type="text/javascript" src="../vue.min.js"></script>
<script src="../dist/singleuploader.js"></script>
</head>
<body>
<div id="app">
	<div>{{picUrl}}</div>
	<singleuploader v-model="picUrl" v-bind:url="'http://localhost:8181/sys/oss/upload'" v-bind:accept="'image/*,video/*'"></singleuploader>
</div>
<script>
  var vm=new Vue({
    el:'#app',
	data:{
		picUrl:'http://res.woyaozhg.com/upload/20190429/213423906c85e2.jpg'
	},
    components:{
	  singleuploader:singleuploader.default
    }
  })
</script>
</body>
</html>